<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"
	trimDirectiveWhitespaces="true"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ include file="../admin.inc.jsp"%>
<script>
function callback(success, msg) {
	if (success) {
		alertMsg.info(msg);
	}else{
		alertMsg.warn(msg);
	}
}

</script>
<div class="pageContent">
	<s:form name="myForm" id="form_acntWithdraw_detail" action="/admin/acntWithdraw/detail"
		method="POST" enctype="multipart/form-data" target="hidden_frame">
		<div class="panelBar">
			<ul class="toolBar">
	            <c:if test="${item.approveStatus == '01'}">
	            <li><a iconClass="accept"  href="${webContextPath}/admin/acntWithdraw/toPass?id=${item.id}" target="dialog" mask="true"
	               width="450" height="200" title="通过">
	               <span>通过</span>
	            </a></li>
	            <li><a iconClass="arrow_rotate_anticlockwise"  href="${webContextPath}/admin/acntWithdraw/toRevoke?id=${item.id}" target="dialog" mask="true"
	               width="450" height="200" title="驳回">
	               <span>驳回</span>
	            </a></li>
	            </c:if>
	            <c:if test="${item.approveStatus == '03'}">
	            <li><a iconClass="accept"  href="${webContextPath}/admin/acntWithdraw/toSuccess?id=${item.id}" target="dialog" mask="true"
	               width="450" height="200" title="已转账">
	               <span>已转账</span>
	            </a></li>
	            </c:if>
	        </ul>
		</div>
		<div class="pageFormContent" layoutH="58">
			<p class="nowrap">
				<label style="width:100px;">用户ID：</label>
				<input type="text" name="item.userId" value="${item.userId}"  readonly>
			</p>
			
			<p class="nowrap">
				<label style="width:100px;">公司名称：</label>
				<input type="text" name="item.companyName" value="${item.companyName}"  readonly>
			</p>
			
			<p class="nowrap">
				<label style="width:100px;">公司简介：</label>
				<input type="text" name="item.companyDesc" value="${item.companyDesc}"  readonly>
			</p>
			
			<p class="nowrap">
				<label style="width:100px;">公司城市：</label>
				<input type="text" name="item.companyCityCode" value="${item.companyCityCode}"  readonly>
			</p>
			
			<p class="nowrap">
				<label style="width:100px;">用户昵称：</label>
				<input type="text" name="item.nickName" value="${item.nickName}"  readonly>
			</p>
			
			<p class="nowrap">
				<label style="width:100px;">用户真实姓名：</label>
				<input type="text" name="item.realName" value="${item.realName}"  readonly>
			</p>
			
			<p class="nowrap">
				<label style="width:100px;">申请时间：</label>
				<input type="text" name="item.createTime" 
				value="<fmt:formatDate value='${item.createTime}' pattern="yyyy-MM-dd HH:mm:ss" />" readonly="true">
			</p>

			<p class="nowrap">
				<label style="width:100px;">状态：</label>
				<select disabled="disabled">
						<option value="01"  ${item.approveStatus=="01"?"selected":""}>待审核</option>
						<option value="02"  ${item.approveStatus=="02"?"selected":""}>驳回</option>
						<option value="03"  ${item.approveStatus=="03"?"selected":""}>审核通过</option>
						<option value="04"  ${item.approveStatus=="04"?"selected":""}>已转账</option>
				</select>
			</p>
			
			<p class="nowrap">
				<label style="width:100px;">审核意见：</label>
				<input type="text" name="item.approveRemark" value="${item.approveRemark}" readonly="true">
			</p>
			
			<p class="nowrap">
				<label style="width:100px;">审核时间：</label> 
				<input type="text" name="item.approveTime" 
				value="<fmt:formatDate value='${item.approveTime}' pattern="yyyy-MM-dd HH:mm:ss" />" readonly="true">
			</p>
		</div>
	</s:form>
</div>
<iframe name='hidden_frame' id="hidden_frame" style='display: none'></iframe>